package io.renren.modules.com.service;

import java.util.List;
import java.util.Map;

import io.renren.modules.com.entity.ComCollectionRecordEntity;
import io.renren.modules.com.entity.ComCrChargingitemEntity;

/**
 * 
 * 
 * @author pfp
 * @email
 * @date 2017-07-24 10:18:13
 */
public interface ComCrChargingitemService {

	ComCrChargingitemEntity queryObject(Long serialNo);

	List<ComCrChargingitemEntity> queryList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);

	void save(ComCrChargingitemEntity comCrChargingitem);

	void update(ComCrChargingitemEntity comCrChargingitem);

	void delete(Long serialNo);

	void deleteByCrSerialNo(Long crSerialNo);

	void deleteBatch(Long[] serialNos);

	void deleteBatchByCrSerialNos(Long[] crSerialNos);

	List<ComCrChargingitemEntity> queryListByCrSerialNo(Long crSerialNo);

	ComCrChargingitemEntity queryByCrSerialNoAndChargingItem(Long crSerialNo, String chargingItem);

	void eclipse(ComCrChargingitemEntity comCrChargingitem, ComCollectionRecordEntity comCollectionRecord,
			Map<String, Object> chinaJoyMap);

	List<ComCrChargingitemEntity> hasumiKurea(Map<String, Object> map);

}
